/*
 * @Author: your name
 * @Date: 2020-07-07 11:24:37
<<<<<<< HEAD
<<<<<<< HEAD
 * @LastEditTime: 2020-07-10 14:50:49
=======
<<<<<<< HEAD
 * @LastEditTime: 2020-07-09 15:59:38
=======
 * @LastEditTime: 2020-07-09 15:34:38
>>>>>>> 1538d7e5b15f3d00aa32a00029de04d283994f06
=======
<<<<<<< HEAD
 * @LastEditTime: 2020-07-09 15:04:15
=======
<<<<<<< HEAD
 * @LastEditTime: 2020-07-09 14:27:51
>>>>>>> da6e2f54011eb51197d1a96b3235c890d7de4226
=======
<<<<<<< HEAD
<<<<<<< HEAD
 * @LastEditTime: 2020-07-09 11:29:45
=======
 * @LastEditTime: 2020-07-08 15:23:48
>>>>>>> 45ccf899308d7093a4b475078065c69ca7c43930
=======
 * @LastEditTime: 2020-07-09 11:11:46
=======
 * @LastEditTime: 2020-07-08 10:39:04
>>>>>>> 68b97d46619b18497e1a14054cafae2dcddc0ed9
>>>>>>> 0f5f4aa2a7cdb8621c4d34142d2d82a9ad41b969
>>>>>>> 17ef6acd724742932b604571dedb9fe6d264dda4
>>>>>>> 389c680b478224dc849dd80bbbebea30aec29674
>>>>>>> 8f319a37c1546541d4b440d46e9366a56624ca71
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \靖凯开源系统\jingkaisystem\src\router\routes.js
 */
const routes = [{
    path: "/login", //登录
    alias: "/",
    name: "login",
    component: () => import('@/pages/login/login'),
    meta: { requiresAuth: false }

},
{
    path: "/",
    component: () => import('@/pages/index/index'),//结构
    children: [{
        path: "/home", //首页
        name: "home",
        component: () => import('@/pages/home/home'),
    }, {
        path: "/exam",//考试
        name: "exam",
        component: () => import('@/pages/exam/exam'),
    }, {
        path: "/history",//历史记录
        name: "history",
        component: () => import('@/pages/history/history'),
    }, 
    {
        path: "/information",//基本信息
        name: "information",
        component: () => import('@/pages/information/information'),
    },{
        path: "/exam_view",              //查看考试历史记录的内容           
        name: "exam_view",
        component: () => import('@/pages/exam/exam_view/exam_view'),
        props(route) {
            return {
                id: route.query.id
            }
        }
    }],
    meta: { requiresAuth: true }
}]






export default routes

